<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('应收详情表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var stageId = [[${stageId}]];
        var prefix = ctx + "system/monthDetail";
        $(function() {
            var options = {
                url: prefix + "/listByStageId/" + stageId,
                modalName: "应收详情表",
                columns: [
                {
                    field : 'id', 
                    title : '主键id',
                    visible: false
                },
                {
                    field : 'seqNo',
                    title : '月份'
                },
                {
                    field : 'budgetMoney',
                    title : '预算金额'
                },
                {
                    field : 'predictMoney',
                    title : '预测金额'
                },
                {
                    field : 'actualMoney',
                    title : '实际金额'
                },
                {
                    field : 'finishRateBudget',
                    title : '完成率（实际/预算）'
                },
                {
                    field : 'finishRatePredict',
                    title : '完成率（实际/预测）'
                },
                {
                    field : 'remainSum',
                    title : '余额'
                },
                {
                    field : 'contractName',
                    title : '合同名称'
                },
                {
                    field : 'stageName',
                    title : '阶段名称'
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>